<html>
<head>
<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<title>form test</title>
</head>
<body>
<form action="http://127.0.0.1:9090/login" method="post">
	用户名:<input type="text" name="username">
	密码:<input type="password" name="password">
	<!-- 防止重复提交,添加一个隐藏字段 -->
	<input type="hidden" name="token" value="{{.}}">
	<input type="submit" value="登录">
<!-- 下拉菜单 -->
<select name="fruit">
<option value="apple">apple</option>
<option value="pear">pear</option>
<option value="banane">banane</option>
</select>
<!--单选按钮 -->
<input type="radio" name="gender" value="1">男
<input type="radio" name="gender" value="2">女
<!-- 复选框 -->
<input type="checkbox" name="interest" value="football">足球
<input type="checkbox" name="interest" value="basketball">篮球
<input type="checkbox" name="interest" value="tennis">网球
</form>
</body>
</html>